package com.hy.hywebview_export.autoservice

import android.content.Context
import androidx.fragment.app.Fragment

/**
 * @Description:
 * @Author: wdk
 * @CreateTime: 2024/4/8 22:24
 */
interface HYWebViewService {

    fun startWebViewActivity(
        context: Context,
        url: String,
        title: String = "WebView页面",
        isShowActionBar: Boolean = true,
        canNativeRefresh: Boolean = true
    )

    fun getWebViewFragment(
        url: String,
        canNativeRefresh: Boolean = true
    ): Fragment
}